package com.yungongyu.mapper;

import com.yungongyu.pojo.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierMapper {

    List<Supplier> getSupplierList(@Param("ids") List<Integer> id);

    /**
     * 新增
     */
    public  Integer insertSupplier( Supplier supplier);

    /**
     * 修改
     */

    public  Integer updateSupplier(@Param("supplier") Supplier supplier);

    /**
     * 删除
     */
    public  Integer deleteSupplier(@Param("id") Integer id);
}
